package org.example.springaop.test3;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class TestAspect {
    @Before("execution(* org.example.springaop..*(..))")
    public void before(){
        System.out.println("方法执行前代理 : before... ");
    }
}
